


// Specification de l'interface Property

 enum PropertyType {
	GENRE, PLURIEL, FEMININ, GROUPE, TRANSIVITE };
enum CodeGenre {
	MASC, FEM };
enum CodeTrans {
	TRANS, INTR };

class NotApplicableProp extends RuntimeException {};

public interface Property extends java.rmi.Remote {
	public PropertyType getPropertyType()
		throws java.rmi.RemoteException;

	public CodeGenre getGenre()
		throws NotApplicableProp, java.rmi.RemoteException;
	public CodeTrans getTrans()
		throws NotApplicableProp, java.rmi.RemoteException;
	public String getPluriel()
		throws NotApplicableProp, java.rmi.RemoteException;
	public String getFeminin()
		throws NotApplicableProp, java.rmi.RemoteException;
	public short getGroupe()
		throws NotApplicableProp, java.rmi.RemoteException;

	public boolean isGenre()
		throws java.rmi.RemoteException;
	public boolean isPluriel()
		throws java.rmi.RemoteException;
	public boolean isFeminin()
		throws java.rmi.RemoteException;
	public boolean isGroupe()
		throws java.rmi.RemoteException;
	public boolean isTransitive()
		throws java.rmi.RemoteException;

	public String printString()
		throws java.rmi.RemoteException;
	public String toFile()
		throws java.rmi.RemoteException;
};
